3. Properties

3.10 the Anchorlist of member

Syntax:
set mylist = the Anchorlist of member whichcastmember

Purpose:
This property is used to get informations about all anchors set in the html source of the #html cast member.
This allows to prepare links to scrollpositions inside the same documents or to allow scrolling to a desired part of another html document. The position of the anchors is evaluated each time the html source is set and parsed.

Anchors are defined in HMTL via
<A Name="anchor1"> ... </A>

The returned list is a list of lists. mylist (above example) is a list of all parsed anchors. Each item of this list is a list with three elements, the first one is the value of the name parameter, the second one is the horizontal position as curr4ectly rendered and the third parameter is the vertical scrollposition as currently rendered. These values are strings. As example put the meta of member "html" would give a result like:
[ ["anchor1",xpos1, ypos1], ["anchor2",xpos2, ypos2] ]

This property can be tested, but not set.

Notes:

See also: